<?php
class KnowledgeViewModel extends ViewModel
{
	public $viewFields = array(
    'Knowledge' => array('kid','keyword','code','url','title','uploadtime','uid','imageurl','status','is_hot','point','downscore','is_dele','cateid','_type'=>'LEFT'),
	'User' => array('username','nickname','_on'=>'Knowledge.uid = User.uid')
    );
}
?>